#include<iostream>
#include<stack>
#include<vector>
using namespace std;

int main()
{
	stack<double> st;
	st.push(1.2);
	st.push(1.4);
	cout << st.size() << endl;
	cout << st.empty() << endl;
	cout << st.top() << endl;
	st.pop();
	cout << st.top() << endl;

	//vectorջ
	vector<double> vec;
	vec.push_back(1.0);
	vec.push_back(1.4);
	vec.pop_back();
	cout << vec.back() << endl;

	return 0;
}